<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@page import="crm.util.ParamUtil"%>
<%@page import="crm.control.EmployeesControl"%>
<%
     request.setCharacterEncoding("UTF-8");
     String name=ParamUtil.getString(request,"name");
     if(name!=null){
         name=new String(name.getBytes("iso-8859-1"),"UTF-8");
     }
     if(EmployeesControl.employeesNameIsExist(name)){
     	out.write("0");
     } else{
     	out.print("1");
     }
%>
